home *** CD-ROM | disk | FTP | other *** search
- unit BDEDoRxT;
-
- {$S-}
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, StdCtrls, DBITypes;
-
- type
- TTrimDlg = class(TForm)
- TrimButton: TButton;
- SaveButton: TButton;
- AbortButton: TButton;
- Memo1: TMemo;
- TrimAllButton: TButton;
- procedure ButtonClick(Sender: TObject);
- private
- public
- end;
-
- var
- TrimDlg: TTrimDlg;
-
- const
- {index of Memoline holding the Fieldname:}
- FieldLineIndex: integer = 1;
-
- implementation
-
- {$R *.DFM}
-
- procedure TTrimDlg.ButtonClick(Sender: TObject);
- begin
- if (Sender = TrimButton) then
- Tag := longint(cbrYES);
- if (Sender = SaveButton) then
- Tag := longint(cbrNO);
- if (Sender = AbortButton) then
- Tag := longint(cbrABORT);
- if (Sender = TrimAllButton) then
- Tag := longint(cbrPARTIALASSIST);
- ModalResult := mrOK;
- end;
-
- end.
-